add_executable(btlu btlu.cpp)
target_link_libraries(btlu PRIVATE
  libbtlu
  ${BLAS_LIBRARIES}
)

set(TARGET_OUTPUT_DIR "${CMAKE_BINARY_DIR}")

add_custom_command(TARGET btlu POST_BUILD
    COMMAND ${CMAKE_COMMAND} -E copy
    ${CMAKE_CURRENT_SOURCE_DIR}/pattern.py
    ${TARGET_OUTPUT_DIR}/test/pattern.py
    COMMENT "copying pattern.py to build directory."
)